function score_timing(timings, num_trials)

max_time = 2000;
total_trials = num_trials; %N is currently fixed

if(num_trials == 64)
    temp_timings = reshape(timings, 8,8)';
    match_trials = reshape([temp_timings(1:4, 1:4); temp_timings(5:8, 5:8)]', 1, 32);
    non_match_trials = reshape([temp_timings(1:4, 5:8); temp_timings(5:8, 1:4)]', 1, 32);
elseif(total_trials == 32)
    temp_timings = reshape(timings, 8,4)';
    match_trials = temp_timings %reshape([temp_timings(1:4, 1:4); temp_timings(5:8, 5:8)]', 1, 32);
    non_match_trials = reshape([temp_timings(1:4, 5:8); temp_timings(5:8, 1:4)]', 1, 32); 
else
    exit;
    
end

correct_matches = find(match_trials < max_time);
correct_non_matches = find(non_match_trials == max_time);

false_negatives = find(match_trials == max_time);
false_positives = find(non_match_trials < max_time);

total_correct = length(correct_matches) + length(correct_non_matches);
total_false_negatives = length(false_negatives);
total_false_positives = length(false_positives);
final_score = (total_correct/total_trials)*100;

disp(['Final Score = ', num2str(final_score)]);
disp(['Total Correct = ', num2str(total_correct)]);

disp(['False Negatives = ', num2str(total_false_negatives)]);
disp(['False Positives = ', num2str(total_false_positives)]);